<div th:fragment="dept_form">
    <form id="form" class="form-horizontal">
        <input type="hidden" id="deptId">
        <div class="box-body">
            <div class="form-group">
                <label for="parentName" class="col-sm-2 control-label">上级部门</label>
                <div class="col-sm-10">
                    <input type="hidden" id="parentId">
                    <input type="text" class="form-control" id="parentName" onfocus="openDeptTree()" autocomplete="off">
                </div>
            </div>
            <div class="form-group">
                <label for="deptName" class="col-sm-2 control-label">部门名称</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="deptName" name="deptName" autocomplete="off">
                </div>
            </div>
            <div class="form-group">
                <label for="orderNum" class="col-sm-2 control-label">显示排序</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="orderNum" name="orderNum" autocomplete="off">
                </div>
            </div>
            <div class="form-group">
                <label for="leader" class="col-sm-2 control-label">负责人</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="leader" name="leader" autocomplete="off">
                </div>
            </div>
            <div class="form-group">
                <label for="phone" class="col-sm-2 control-label">联系电话</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="phone" name="phone" autocomplete="off">
                </div>
            </div>
            <div class="form-group">
                <label for="status" class="col-sm-2 control-label">部门状态</label>
                <div class="col-sm-10" id="status">
                    <input type="radio" name="status" value="0" class="flat-red" checked> 显示
                    <input type="radio" name="status" value="1" class="flat-red"> 隐藏
                </div>
            </div>
        </div>
        <div class="box-footer">
            <button type="button" class="btn btn-info pull-right" onclick="save()">提交</button>
        </div>
    </form>

</div>